﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendMessage.aspx.cs" Inherits="socialnexus.RecordMessage" 
MasterPageFile="~/masters/Default.Master" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function sendVideo(videoURL) {
            $('.VideoURL').val(videoURL);
            $('.btnSubmit').click();
        }
    </script>
</asp:Content>

<asp:Content ContentPlaceHolderID="body" runat="server">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Inbox.aspx" Text="< Back" CssClass="backLink" />
    
<h2 style="margin:0; padding:0">Record Message</h2>

<div class="clear"></div>

<div class="friend pad10" style="float: right">
    <asp:Image runat="server" ID="imgFriend" />
    <div class="lalign">To: <asp:Label runat="server" ID="lblFriendName" /></div>
</div> 

<div style="display:none">
    <asp:TextBox ID="txtVideoURL" CssClass="VideoURL" runat="server" />
    <asp:TextBox ID="txtFriendId" runat="server" />
    <asp:Button ID="btnSubmit" CssClass="btnSubmit" runat="server" OnClick="btnSubmit_Click"
        Text="SendVideo" />
</div>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="480" id="SimpleRecorder" align="middle">
	<param name="movie" value="/static/Recorder/SimpleRecorder.swf" />
	<param name="quality" value="high" />
	<param name="bgcolor" value="#ffffff" />
	<param name="play" value="true" />
	<param name="loop" value="true" />
	<param name="wmode" value="window" />
	<param name="scale" value="showall" />
	<param name="menu" value="true" />
	<param name="devicefont" value="false" />
	<param name="salign" value="" />
	<param name="allowScriptAccess" value="always" />
	<!--[if !IE]>-->
	<object type="application/x-shockwave-flash" data="/static/Recorder/SimpleRecorder.swf" width="480" height="480">
		<param name="movie" value="/static/Recorder/SimpleRecorder.swf" />
		<param name="quality" value="high" />
		<param name="bgcolor" value="#ffffff" />
		<param name="play" value="true" />
		<param name="loop" value="true" />
		<param name="wmode" value="window" />
		<param name="scale" value="showall" />
		<param name="menu" value="true" />
		<param name="devicefont" value="false" />
		<param name="salign" value="" />
		<param name="allowScriptAccess" value="always" />
	<!--<![endif]-->
		<a href="http://www.adobe.com/go/getflash">
			<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
		</a>
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
</asp:Content>